]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
status/network: Fix a11y names for VPN connection menu items
authorLukáš Tyrychtr <ltyrycht@redhat.com>
Thu, 23 Mar 2023 13:59:01 +0000 (14:59 +0100)
committerMarge Bot <marge-bot@gnome.org>
Mon, 27 Mar 2023 17:01:40 +0000 (17:01 +0000)
Because of an omission, the VPN menu items never got its a11y name,
so a screen reader was reporting that item only as a plain item without
any label.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2720>

js/ui/status/network.js

index c9c86a916fc0e0aecb132a49cb5f07f12e025cad..e3b9a5d459bc058c2d2e129ab847214a1078aede 100644 (file)
@@ -1274,6 +1274,7 @@ const NMVpnConnectionItem = GObject.registerClass({
         this._label.x_expand = true;
         this.accessible_role = Atk.Role.CHECK_MENU_ITEM;
         this._icon.hide();
+        this.label_actor = this._label;
 
         this._switch = new PopupMenu.Switch(this.is_active);
         this.add_child(this._switch);